package com.study.proxy.staticproxy;

public class Zhaolaoliu implements IPerson {

    private Zhaoliu zhaoliu;

    public Zhaolaoliu(Zhaoliu zhaoliu){
        this.zhaoliu = zhaoliu;
    }

    @Override
    public void findLove() {
        before();
        zhaoliu.findLove();
        after();
    }

    private void before() {
        System.out.println("赵老六的要求");
    }

    private void after() {
        System.out.println("开始交往");
    }
}
